package com.BluetoothTest;

import android.app.Activity;
import android.bluetooth.BluetoothAdapter;
import android.os.Bundle;
import android.widget.Toast;

public class NetworkServerActivity extends Activity{
	private BluetoothAdapter mBtAdapter = BluetoothTest.mBtAdapter;
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.server);
    }

    @Override
    public void onResume() {
    	super.onResume();
    	BluetoothServerThread BtServerThread = new BluetoothServerThread(this, "5" , mBtAdapter);
    	BtServerThread.start();
    }
    public void Log(String string){
		Toast.makeText(this, string, Toast.LENGTH_SHORT).show();
    }
}
